package com.xinsilu.hospital.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xinsilu.hospital.entity.BedTable;
import com.xinsilu.hospital.mapper.BedTableMapper;
import com.xinsilu.hospital.service.IBedTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BedTableServiceImpl extends ServiceImpl<BedTableMapper, BedTable> implements IBedTableService {

    @Autowired
    private BedTableMapper bedTableMapper;

    @Override
    public List<BedTable> getlist() {
        return bedTableMapper.getlist();
    }

    @Override
    public List<BedTable> getbyks(BedTable bedTable) {
        return bedTableMapper.getbyks(bedTable);
    }

    @Override
    public boolean updatechan(BedTable bedTable) {
        return bedTableMapper.updatechan(bedTable);
    }

    @Override
    public boolean updateshan(BedTable bedTable) {
        return bedTableMapper.updateshan(bedTable);
    }
}
